{if isset($success)}
<div class="status success">	
	{$success}
</div>
{/if}
{if isset($notice)}
<div class="status notice">
	{$notice}
</div>
{/if}
{if count($errors) gt 0}
<div class="status error">
	<h3>Error</h3>
	<ul>
		{foreach from=$errors item=error}
		<li>{$error}</li>
		{/foreach}
	</ul>
</div>
{/if}
